
function params = GSLpp_get_testfunction_params(testfunction)
  params = struct;

  if isfield(testfunction, "m") == true
    params.m = testfunction.m;
  endif

  if isfield(testfunction, "n") == true
    params.n = testfunction.n;
  endif
endfunction
